package com.yunhe.marketing.constant;

/**
 * @Author: DongWenYu
 * @Date: 2021/2/23 14:51
 */
public class EnterpriseConsts {

    // 消息类型定义
    public enum INFORMATION_TYPE {
        Clue("1", "线索"),
        Demand("2","需求");
        private String value;
        private String title;
        INFORMATION_TYPE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    // 渠道来源定义
    public enum CHANNEL_SOURCE {
        RecommendedByOthers("1", "他人推荐"),
        SpontaneousImport("2","自发导入"),
        NetworkCrawling("3","网络爬取");
        private String value;
        private String title;
        CHANNEL_SOURCE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    // 布尔定义
    public enum BOOLEAN {
        No("2", "否"),
        Yes("1","是");
        private String value;
        private String title;
        BOOLEAN(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    // 经营状态定义
    public enum OPERATION_STATE {
        Employed("01", "在业/存续"),
        Subsist("02","存续"),
        Preparation("03","筹建"),
        Clear("04", "清算"),
        Immigration("05", "迁入"),
        Emigration("06", "迁出"),
        CloseDown("07", "停业"),
        Cancel("08", "撤销"),
        Revoke("09", "吊销"),
        LogOff("10", "注销");
        private String value;
        private String title;
        OPERATION_STATE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    // 分配状态定义
    public enum ALLOCATION_STATE {
        Unallocated("1", "未分配"),
        Allocated("2","已分配"),
        KnockedBack("3", "已回敲");
        private String value;
        private String title;
        ALLOCATION_STATE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    // 反馈状态定义
    public enum FEEDBACK_STATE {
        HasIntention("1", "有意向"),
        NoIntention("2","无意向"),
        Invalid("3", "信息无效");
        private String value;
        private String title;
        FEEDBACK_STATE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }
}
